auto merge of #253 : jdeseno/cargo/find-root-manifest, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 24 Jul 2014 18:44:40 +0000 (18:44 +0000)
committerbors <bors@rust-lang.org>
Thu, 24 Jul 2014 18:44:40 +0000 (18:44 +0000)
commitd9e1938861190093e32cb6b1de3564863b4b24dd
tree45c18f05e8d705b72e1a16b2d6ebcab5f9828b19
parentbfb163025f91a04993fc3389ae160ad7895a1fe4
parentfdd179a340d6f515f392599de2fd787a25f40d7e
auto merge of #253 : jdeseno/cargo/find-root-manifest, r=alexcrichton

A few of the sub-commands seem to use the same code for loading the project manifest.

I'd like to get rid of the nested matches but, I can't figure how to use something like `and_then` & `or_else` where the type is promoted (Option -> CargoResult etc.)